/*
 *  wirelesslocation - An API providing simple off-line location services to
 *  applications using the relative signal strengths from known surrounding 802.11 stations.
 *  Copyright (C) 2009  Michael Powers (swedishborgie@gmail.com)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
/*
 * CSS definitions for the entire web app. 
 */
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	font-family: helvetica;
}
#currentDisplay {
	position: absolute;
	height: 30px;
	width: 75px;
	
}
.location,.location_with_icon {
	position: absolute;
	height: 20px;
	width: 20px;
	-webkit-border-radius: 11px;
	border: 2px solid black;
}
.locationnode_labelcontainer {
	-webkit-transition-property: -webkit-transform;
	-webkit-transition-duration: 1s;
}
.locationnode_label {
	position: relative;
	top: -38px;
	height: 25px;
	left: -40px;
	text-align: center;
	width: 100px;
	-webkit-border-radius: .5em;
	border: 2px solid white;
	opacity: .8;
	background-color: black;
	color: white;
	overflow: hidden;
	vertical-align: middle;
	line-height: 25px;
}
.locationnode_decoration {
	position: relative;
	top:-40px;
	height: 25px;
	left: -3px;
	width: 25px;
	background-image: url(images/labeldeco.png);
	opacity: .8;
}
.sameFloor {
	opacity: 1.0;
}

.diffFloor {
	opacity: 0.4;
}

.floor0 {
	background-color: #f00;
}

.floor1 { 
	background-color: #0f0;
}

.floor2 {
	background-color: #00f;
}

.choicebar {
	background-image: url(images/barbg.png);
	border-top: 2px solid black;
	overflow:hidden;
}
.choicebar_button {
	float: left;
	text-align: center;
	width: 80px;
	padding-top: 2px;
}
.choicebar_buttonlabel {
	position: relative;
	color: white;
	-webkit-text-stroke: 1px black;
	font-weight: bold;
	top: -5px;
}
.choicebar_buttonselected {
	background-color: #808080;
}
.friendsmenu {
	position: absolute;
	background-color: white;
	width: 320px;
	min-height: 100%;
	top: 0px;
	-webkit-transform: translate(0,481px);
	-webkit-transition-property: -webkit-transform;
	-webkit-transition-duration: 1s;
}
.friendsmenu_blackbar {
	height: 20px;
	width: 100%;
	background-color: black;
}
.friendsmenu_topbar{
	background-image: url(images/toolbar.png);
	border-bottom: 1px solid black;
	background-color: blue;
	width: 100%;
	height: 42px;
	text-align: center;
}
.friendsmenu h1 {
	font-size: 30px;
	line-height: 42px;
	vertical-align: middle;
	-webkit-text-stroke: 1px black;
	color: white;
	font-weight: bold;
	margin: 0;
	padding: 0;
	display: inline;
}
.friendsmenu_backbutton {
	float: left;
    border-width: 0 8px 0 14px;
    -webkit-border-image: url(images/backButton.png) 0 8 0 14;
    height: 30px;
    margin-top: 8px;
    line-height: 30px;
    vertical-align: middle;
    color: white;
}
.friendsmenu_addbutton {
	-webkit-border-image: url(images/blueButton.png) 0 5 0 5;
	height: 30px;
	width: 25px;
	margin-right: 5px;
	margin-top: 6px;
	color: white;
	float: right;
	line-height: 28px;
    vertical-align: middle;
    font-size: 20px;
    font-weight: bold;
    
}
.friendsmenu_listHeader {
	color: #fff;
	background-color: #444;
	height: 20px;
	width: 100%;
	overflow: none;
}
.friendsmenu_list_name {
	width: 160px;
	text-align: center;
	float: left;
}
.friendsmenu_list_floor {
	width: 160px;
	text-align: center;
	float: right;
}
.friendsmenu_list {
	width: 100%;
	font-size: 14pt;
}
.friendsmenu_listItem {
	border-bottom: 1px solid #ccc;
	width: 100%;
	height: 50px;
    padding-top: 15px;
}
.friendsmenu_backgroundshade {
    position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: .8;
	z-index: 10;
	background-color: black;
}
.friendsmenu_addFriendPopup {
    position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 11;
}
.friendsmenu_addlabel {
	color: white;
	margin-left: 5%;
	font-weight: bold;
	margin-top: 45%;
}
.friendsmenu_inputbox {
	width: 90%;
	margin-left: 5%;
}
.friendsmenu_submitbutton, .friendsmenu_closebutton {
	width: 45%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	height: 30px;
	margin-top: 10px;
}
.preloader {
	color: white;
}
.preloader_splash {
	width: 100%;
	margin-top: 35px;
	font-size: 3em;
	text-align: center;
	margin-bottom: 20px;
}
.preloader_loginfailure {
	color: red;
	margin-left: 10%;
}
.preloader_userloginlabel, .preloader_passwordloginlabel {
	width: 100%;
	text-align: center;
}
.preloader_username,.preloader_password {
	width: 80%;
	margin-left: 10%;
	margin-bottom: 1em;
}
.preloader_submit {
	width: 45%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	margin-top: 1em;
	font-size: 1.5em;
	float: left;
}
.preloader_loadbarlabel {
	margin-top: 120px;
	margin-left: 10%;
}
.preloader_loadbar {
	width: 80%;
	margin-left: 10%;
	height: 15px;
	border: 1px solid white;
}
.preloader_progress {
	background-color: white;
	height: 100%;
	width: 0%;
}
